package com.xs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Processor;

import com.xs.message.Reviever;
import com.xs.message.Sender;
import com.xs.message.ShopChannel;
import com.xs.simple.demo.MySink;
import com.xs.simple.demo.MySource;

@SpringBootApplication
@EnableBinding({ MySink.class, MySource.class, Processor.class, Reviever.class, Sender.class, ShopChannel.class, })

public class StreamApplication {

	public static void main(String[] args) {
		SpringApplication.run(StreamApplication.class, args);

	}

}
